package cn.wolfcode.edu.mapper;

import cn.wolfcode.edu.domain.BigCustomer;
import cn.wolfcode.edu.domain.SchoolContact;
import cn.wolfcode.edu.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SchoolContactMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SchoolContact entity);

    SchoolContact selectByPrimaryKey(Long id);

    List<SchoolContact> selectAll();

    int updateByPrimaryKey(SchoolContact entity);
    List queryForList(QueryObject qo);

    int queryForCount(QueryObject qo);

    List<BigCustomer> listAllBigCustomer();

    void fireSchoolContactById(Long id);

    void updatePrincipleById(@Param("id") Long id, @Param("unnormalPrincipal") int unnormalPrincipal, @Param("normalPrincipal") int normalPrincipal);
}